package com.project.mapper;

import com.project.bean.CountryBean;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ICountryMapper {
    /**
     * 查询所有国家
     */
    @Select("select * from t_country")
    @ResultMap("countryMap")
    public List<CountryBean> findAll();
}
